"""

@File:run_suite.py
@Datetime:2022/11/6 22:40
@Author:wangt
@Desc:
"""

# 1、导包
import unittest
from htmltestreport import HTMLTestReport
from scripts.test_member_service import TestMemberService

# 2、创建实例

suite = unittest.TestSuite()

# 3、添加测试用例
suite.addTest(unittest.makeSuite(TestMemberService))
# 4、创建HtmlTestReport类对象
runner = HTMLTestReport("./reports/传智健康测试报告.html",title="dubbo传智健康项目微服务测试",description="dubbo传智健康项目")
# 调用run()传入suite
runner.run(suite)